<?php $form = $this->beginWidget('CActiveForm', array('id' => 'site-form', 'enableAjaxValidation' => true)); ?>

<table cellspacing="1" cellpadding="4" width="100%">
<tr align="center" valign="top">
<td width="*" align="center" valign="top">
<!-- ######### begin ######### -->
<div class="Block">
<div class="BlockBar"> <?php echo CHtml::activeLabel($model, 'title'); ?></div>
<!-- tab bar -->
<div id="tabbar-div">
  <ul>
    <li class="tab-back"><a href="<?php echo $this->createUrl('site/');?>">系统配置</a></li>
    <li class="tab-front"><a href="<?php echo $this->createUrl('site/video');?>">点播配置</a></li>
    <li class="tab-back"><a href="<?php echo $this->createUrl('site/user');?>">用户配置</a></li>
  </ul>
</div>
<!-- tab end -->
<?php if($this->message):?>
<span>
<label class="success"><?php echo $this->message;?></label>
</span>
<?php endif;?>
<table width="100%" cellpadding="4" cellspacing="1" class="tab">
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_play', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_play', $model->getPlayList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_plasite_video_play'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_down', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_down', $model->getPlayList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_down'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_window', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_window', $model->getVideoWindowList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_window'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_player', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_player', $model->getPlayerList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_player'); ?></td>
  </tr>
    <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_quality', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_quality', $model->getQualityList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_quality'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_region', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->radioButtonList($model, 'site_video_region', $model->getRegionList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_region'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_pic', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->textField($model, 'site_video_pic'); ?> <?php echo $form->error($model, 'site_video_pic'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_money', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->textField($model, 'site_video_money'); ?> <?php echo $form->error($model, 'site_video_money'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_level', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->dropDownList($model, 'site_video_level', $model->getVideoLevel(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_level'); ?></td>
  </tr>
  <tr class="row" >
    <td width="12%" class="align-right" ><?php echo $form->labelEx($model, 'site_video_server', array('class' => 'title')); ?>:</td>
    <td><?php echo $form->dropDownList($model, 'site_video_server', $model->getServerList(), array('class' => 'radio', 'separator' => '')); ?> <?php echo $form->error($model, 'site_video_server'); ?></td>
  </tr>
  <tr class="rows">
    <td class="rows"></td>
    <td class="rows"><?php echo CHtml::submitButton(Yii::t('app', '提 交'), array('class' => 'btn')); ?></td>
  </tr>
  </div>
  
  </td>
  
  </tr>
  
</table>
<?php $this->endWidget(); ?>
